package com.lbn.monitor.app.history.device;

import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;

import com.lbn.monitor.R;
import com.lbn.monitor.base.AppBaseActivity;
import com.lbn.monitor.widget.Appbar;

import butterknife.ButterKnife;

public class DeviceActivity extends AppBaseActivity<DevicePresenter> implements IDeviceInfoView {

//    @BindView(R.id.radio_group)
//    RadioGroup radioGroup;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_device);
        ButterKnife.bind(this);
        setAppbar(new Appbar(this).openBack().setTitle("详情"));
    }

    @Override
    protected DevicePresenter createPresenter() {
        return new DevicePresenter();
    }

    @Override
    protected void onPresenterCreated() {
        super.onPresenterCreated();
    }

    public static void startActivity(Context context) {
        context.startActivity(new Intent(context, DeviceActivity.class));
    }



}
